#pragma once
#include"public_struct.h"
string reverseWords(string s) {
	string result, temp;
	stringstream input(s);
	while (input >> temp) {
		if (result == "") {
			result = temp;
		}
		else {
			result = temp + " " + result;
		}

	}
	return result;
}